<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('命令记录列表')"/>
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var editFlag = [[${@permission.hasPermi('order:order:edit')}]];
    var removeFlag = [[${@permission.hasPermi('order:order:remove')}]];
    var prefix = ctx + "equipment/equipment";
    var sim = [[${sim}]];
    $(function () {
        var options = {
            url: prefix + "/lookOrders/" + sim,
            createUrl: prefix + "/add",
            updateUrl: prefix + "/edit/{id}",
            removeUrl: prefix + "/remove",
            exportUrl: prefix + "/export",
            modalName: "命令记录",
            showSearch: false,
            showRefresh: false,
            showToggle: false,
            showColumns: false,
            columns: [
                {
                    field: 'sim',
                    title: 'sim卡号'
                },

                {
                    field: 'ordername',
                    title: '命令名称'
                },
                {
                    field: 'state',
                    title: '发送状态'
                },
                {
                    field: 'createTime',
                    title: '发送时间'
                },
                {
                    field: 'createBy',
                    title: '操作人'
                },

            ]
        };
        $.table.init(options);
    });
</script>
</body>
</html>